package com.example.springboot_sp.service.impl;

import com.example.springboot_sp.entity.Calendar;
import com.example.springboot_sp.entity.Collection;
import com.example.springboot_sp.mapper.CalendarMapper;
import com.example.springboot_sp.service.ICalendarService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 郭守军
 * @since 2022-09-16
 */
@Service
public class CalendarServiceImpl extends ServiceImpl<CalendarMapper, Calendar> implements ICalendarService {
    @Resource
    private CalendarMapper calendarMapper;
    public List<Calendar> findAllByDate(String date) {
        return calendarMapper.findAllByDate(date);
    }
}
